Руслан Ижбулатов [Wed, 6 Apr 2016 10:22:15 +0000 (10:22 +0000)]
GDK W32: Don't move windows into top-left corner on style change
This fixes a bug that was introduced by
db1b24233e758200ab9bc23fdb9b64dba4876a00.
The reason why 0:0 coordinates were passed was that SWP_NOREPOSITION was
misinterpreted as SWP_NOMOVE. That is not the case - SWP_NOREPOSITION
prevents owner Z-order change, not the window position change.
Olivier Fourdan [Mon, 4 Apr 2016 12:55:38 +0000 (14:55 +0200)]
wayland: Do not resize with the same size
gnome-control-center is calling gtk_window_resize() on configure-event
signals which leads to a busy loop.
Avoids such a busy loop by not re-configuring a window with the same
size, unless this is coming from and xdg-shell configure.
bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764374
Wouter Verhelst [Thu, 31 Mar 2016 09:09:41 +0000 (11:09 +0200)]
Clarify that one cannot use the same variable
A naive way to perform an action on all parent nodes of a given node
could be to do:
while(gtk_tree_model_iter_parent(model, &iter, &iter)) {
/* perform some action on iter here */
}
However, since gtk_tree_model_iter_parent() will initialize the iterator
pointed to by the second parameter before performing the lookup, this
will not work.
Explicitly document this behaviour.
Signed-off-by: Wouter Verhelst <w@uter.be>
https://bugzilla.gnome.org/show_bug.cgi?id=573380
Bastien Nocera [Mon, 4 Apr 2016 14:38:04 +0000 (16:38 +0200)]
cups: Fix "format not a string literal" error
https://bugzilla.gnome.org/show_bug.cgi?id=764585
Bastien Nocera [Mon, 4 Apr 2016 13:03:12 +0000 (15:03 +0200)]
recent-manager: Fix "format not a string literal" error
https://bugzilla.gnome.org/show_bug.cgi?id=764585
Bastien Nocera [Mon, 4 Apr 2016 12:32:56 +0000 (14:32 +0200)]
file-chooser-widget: Fix "format not a string literal" error
https://bugzilla.gnome.org/show_bug.cgi?id=764585
Bastien Nocera [Mon, 4 Apr 2016 12:16:17 +0000 (14:16 +0200)]
about-dialog: Fix "format not a string literal" errors
A non-intrusive fix.
https://bugzilla.gnome.org/show_bug.cgi?id=764585
Bastien Nocera [Mon, 4 Apr 2016 12:14:13 +0000 (14:14 +0200)]
ui-manager: Fix "format not a string literal" errors
Quite a bit of code movement, but necessary to build with the
default format errors produced by newer versions of GCC.
https://bugzilla.gnome.org/show_bug.cgi?id=764585
Lapo Calamandrei [Mon, 4 Apr 2016 10:03:11 +0000 (12:03 +0200)]
Adwaita: transparent textview border border
So it will play nicely with gedit color combinations.
See https://bugzilla.gnome.org/show_bug.cgi?id=764203
Tom Tryfonidis [Mon, 4 Apr 2016 09:28:23 +0000 (09:28 +0000)]
Updated Greek translation
(cherry picked from commit
40afffb9fde9f2fc46d1fafd9dcdca7692e065ef)
Matthias Clasen [Mon, 4 Apr 2016 03:39:18 +0000 (23:39 -0400)]
Move GdkDeviceManager to deprecated section
It has been superseded by GdkSeat.
Matthias Clasen [Mon, 4 Apr 2016 03:33:57 +0000 (23:33 -0400)]
Add an index for 3.22 api additions
Matthias Clasen [Sun, 3 Apr 2016 22:17:16 +0000 (18:17 -0400)]
wayland: Remove an unused vfunc
Matthias Clasen [Sat, 2 Apr 2016 18:56:55 +0000 (14:56 -0400)]
wayland: Remove unused field
Kristjan SCHMIDT [Sun, 3 Apr 2016 00:20:00 +0000 (02:20 +0200)]
Updated Esperanto translation
Kristjan SCHMIDT [Sat, 2 Apr 2016 22:46:18 +0000 (00:46 +0200)]
Updated Esperanto translation
Timm Bäder [Sat, 2 Apr 2016 14:20:09 +0000 (16:20 +0200)]
headerbar: Don't underallocate the label box
We use a label_sizing_box to make sure the headerbar can always contain
both a title and a subtitle without resizing when showing/hiding either
of them, but we should only do that for the height; the min width of the
label_box can be larger than that of the label_sizing_box.
Lapo Calamandrei [Sat, 2 Apr 2016 14:24:52 +0000 (16:24 +0200)]
Adwaita: style textview border
see https://bugzilla.gnome.org/show_bug.cgi?id=764203
Lapo Calamandrei [Sat, 2 Apr 2016 14:03:02 +0000 (16:03 +0200)]
Adwaita: cosmetic fixes
Carlos Garnacho [Fri, 1 Apr 2016 17:09:03 +0000 (19:09 +0200)]
wayland: Avoid NULL slave devices in GdkSeat::get_slaves
Just because we're asked for a capability, it doesn't mean we have
it.
Lapo Calamandrei [Fri, 1 Apr 2016 14:42:40 +0000 (16:42 +0200)]
Adwaita: set secondary caret color to selection blue
see https://bugzilla.gnome.org/show_bug.cgi?id=764204
Rui Matos [Thu, 31 Mar 2016 18:56:01 +0000 (20:56 +0200)]
gtkwindow: Don't allow unresizable windows to be smaller than required
Commit
cdc580463e409a9b7e5f1480afa68d875ff3ff65 made it so that
unresizable windows can't be smaller than a set default size but it
lost the logic to ensure these windows remain at least big enough to
comply with their requisition.
https://bugzilla.gnome.org/show_bug.cgi?id=764174
Timm Bäder [Tue, 23 Feb 2016 09:34:16 +0000 (10:34 +0100)]
widget: Always warn when underallocating widgets
Matthias Clasen [Fri, 1 Apr 2016 00:31:00 +0000 (20:31 -0400)]
wayland: Print out more debug info
Print out the subpixel layout and frame rates that the compositor
sends us.
Alexander Larsson [Thu, 31 Mar 2016 16:56:18 +0000 (18:56 +0200)]
gdkwindow: Remove O(n-children) code in gdk_window_invalidate
When we invalidate a window we need to also invalidate all child windows
that are native (non-native are automatically invalidated as we track
invalidation once per native window only). This was done in a pretty
inefficient way, recursing over the entire tree.
This makes the invalidation much faster by only looking at the native
children of the native window we're in, filtering out those that
are not a descendant of the client side window we're interested in.
Given that there are very few native subwindows this is much faster.
Matthias Clasen [Thu, 31 Mar 2016 11:11:24 +0000 (07:11 -0400)]
icon theme: Make the builtin hicolor index match reality
We were missing all of the status directories, and a few sizes.
This was causing us to not find image-missing on systems without
hicolor icon theme (this basically only happens on Windows).
https://bugzilla.gnome.org/show_bug.cgi?id=764378
Theppitak Karoonboonyanan [Thu, 31 Mar 2016 02:12:58 +0000 (09:12 +0700)]
Updated Thai translation.
Matthias Clasen [Thu, 31 Mar 2016 01:54:04 +0000 (21:54 -0400)]
Use AM_DISTCHECK_CONFIGURE_FLAGS
This is preferred over DISTCHECK_CONFIGURE_FLAGS in modern automake.
Matthias Clasen [Wed, 30 Mar 2016 21:08:39 +0000 (17:08 -0400)]
Adwaita: theme acceleditor > label
We need to have an opaque background here, otherwise the underlying
cell shines through.
https://bugzilla.gnome.org/show_bug.cgi?id=764376
Matthias Clasen [Wed, 30 Mar 2016 21:08:02 +0000 (17:08 -0400)]
Accel cell renderer: Set a css name
Give the event box we use here the distinctive name "acceleditor".
Benjamin Otte [Wed, 30 Mar 2016 19:41:08 +0000 (21:41 +0200)]
widget: queue a redraw only if resize highlighting is enabled
e8aa9b0440e03e7002323922f862342db51c5f32 introduced a new debug mode
that highlights resizes. Unfortunately it has the side effect of
always queueing redraws even when the debug mode is not enabled.
Make the redraw conditional.
Debarshi Ray [Tue, 29 Mar 2016 17:58:21 +0000 (19:58 +0200)]
window: Make the sample code obey the party line on geometry widgets
The geometry_widget parameter is deprecated [1]. If one is passed, we
remove GDK_HINT_BASE_SIZE and GDK_HINT_RESIZE_INC from the mask [2].
[1] commit
08974a1e9a6099a5a94b9d56970dbf96e473ba87
[2] commit
f7cc4abbad76f354cdc740e7fb9192719f72a89a
https://bugzilla.gnome.org/show_bug.cgi?id=764321
Руслан Ижбулатов [Tue, 15 Mar 2016 16:10:34 +0000 (16:10 +0000)]
GDK W32: Use a dumb window class for decorative windows
Currently only one kind of decorative window is in use - the shape
indicator that is shown when snapping windows to the edge of the screen.
When normal toplevel class is used, its window procedure expects certain
motions from GDK (passing user data to CreateWindowEx(), registering
handle in a hash map etc), and might crash if that is not done.
Dumb window doesn't require anything, it can just be.
https://bugzilla.gnome.org/show_bug.cgi?id=763013
Руслан Ижбулатов [Tue, 15 Mar 2016 10:17:45 +0000 (10:17 +0000)]
GDK W32: Add/subtract shadow when (un)snapping
Now halfleft/halfright/fullup snaps do hug screen edges as intended.
Documents AeroSnap behaviour when snapped windows are drag-resized
(currently this implementation handles this in a very simplistic way).
Don't believe GTK when it tells us that window shadow is 0, preserve
previous values (but do remember that GTK wants no shadow, in case
we need that).
Fixes a couple of bugs in unsnapping (check offset against the half
of the window; don't put pointer in the middle of the window vertically
if it still fits in the top half).
https://bugzilla.gnome.org/show_bug.cgi?id=763013
Руслан Ижбулатов [Tue, 15 Mar 2016 10:15:14 +0000 (10:15 +0000)]
GDK W32: Add/subtract shadow when drag-resizing
Implements gdk_win32_window_set_shadow_width().
Uses shadow width/height to adjust max tracking size, allowing
windows to be drag-resized to cover the whole desktop.
Also uses SM_C*VIRTUALSCREEN instead of SM_C*MAXTRACK.
https://bugzilla.gnome.org/show_bug.cgi?id=763013
Руслан Ижбулатов [Sat, 12 Mar 2016 16:26:19 +0000 (16:26 +0000)]
GDK W32: Draw snap indicators for AeroSnap
Indicator is a bare layered click-through native window,
painted completely by GDK, including animation.
This commit also isolates some of the more spam-ish debug logging
under ifdef.
This commit also changes the system metric used for maximal window
height for the snapping purposes. Turns out, SM_CYMAXTRACK is way
too large, use SM_CYVIRTUALSCREEN instead.
https://bugzilla.gnome.org/show_bug.cgi?id=763013
Руслан Ижбулатов [Tue, 8 Mar 2016 05:03:29 +0000 (05:03 +0000)]
GDK W32: Add drag-to-snap feature to AeroSnap
This implements the part of AeroSnap that snaps windows when you
drag them (while moving or resizing) to the edge of the screen.
It also fixes drag behaviour for snapped and maximized windows
(if such windows are dragged, first they must be unmaximized/unsnapped).
Note that this code does not take into account the shadow width, and
because of that the under-pointer-position-preserving window moves
might not look as such for maximized windows, which lack the shadow
when maximized, but do have the shadow when unmaximized.
This commit also doesn't cover some corner-cases the same way AeroSnap does.
Also, the snapping indicator (which is supposed to be a window shape that
shows where the window will be if the drag op is stopped at its current
point) is not being drawn, all routines responsible for its creation,
moving and drawing are stubs.
https://bugzilla.gnome.org/show_bug.cgi?id=763013
Руслан Ижбулатов [Tue, 8 Mar 2016 03:17:09 +0000 (03:17 +0000)]
GDK W32: Improve AeroSnap - don't resize windows that fit
This is what AeroSnap does. If a window is being unsnapped on
a new monitor, check if the work area is large enough for the
window to fit in its normal size. If the window fits, just
reposition it so that the ratio of
left-window-edge-to-screen-edge / right-window-edge-to-screen-edge
remains the same, without scaling the window.
https://bugzilla.gnome.org/show_bug.cgi?id=763013
Руслан Ижбулатов [Tue, 8 Mar 2016 02:33:47 +0000 (02:33 +0000)]
GDK W32: Re-implement AeroSnap for CSD windows
It works exactly like AeroSnap.
Except for shift+win+left/right, which is left for AeroSnap
to handle (AeroSnap takes action before we get the message,
so there's no way for us to override it).
The only thing that doesn't work is shift+win+left/right on
a maximized window, for reasons unknown at the moment.
This only implements winkey+stuff behaviour of AeroSnap,
not the drag-to-the-edge-and-something-funny-happens one.
https://bugzilla.gnome.org/show_bug.cgi?id=763013
Debarshi Ray [Tue, 29 Mar 2016 17:29:31 +0000 (19:29 +0200)]
window: Fix gtk_window_set_geometry_hints documentation
The geometry_widget parameter is ignored from 3.20 onwards [1], not
3.18 as mentioned in the documentation.
[1] commit
08974a1e9a6099a5a94b9d56970dbf96e473ba87
https://bugzilla.gnome.org/show_bug.cgi?id=764321
Emmanuele Bassi [Tue, 29 Mar 2016 15:24:14 +0000 (16:24 +0100)]
Bump to 3.21.0
Otherwise newly added API will start warning.
Руслан Ижбулатов [Wed, 16 Mar 2016 18:16:33 +0000 (18:16 +0000)]
GDK W32: Erase hidden layered windows before showing them
If a layered window was hidden and is made visible, erase its
contents before showing it. GDK will schedule a redraw, but until
then we generally don't want to show old contents.
https://bugzilla.gnome.org/show_bug.cgi?id=763783
Руслан Ижбулатов [Fri, 18 Mar 2016 04:51:52 +0000 (04:51 +0000)]
GDK W32: Implement show_window_menu()
This is achieved by sending undocumented message WM_SYSMENU
to the window.
Before doing that, the window is given WS_SYSMENU style
(to enable window menu) and some combination of
WS_MAXIMIZEBOX (for "Mazimize" item)
WS_MINIMIZEBOX (for "Minimize" item)
WS_SIZEBOX (for "Size" item)
depending on which operations are currently permissible.
WM_SYSMENU is processed by DefWindowProc(), which results
in showing the window menu. We remove extra styles
at the first opportunity (WM_INITMENU message), as they
alter the way our window is rendered.
https://bugzilla.gnome.org/show_bug.cgi?id=763851
Lapo Calamandrei [Tue, 29 Mar 2016 13:06:11 +0000 (15:06 +0200)]
Adwaita: set caret-color for drop targets
Lapo Calamandrei [Tue, 29 Mar 2016 13:01:57 +0000 (15:01 +0200)]
Adwaita: cosmetic fix
Matthias Clasen [Mon, 28 Mar 2016 23:54:55 +0000 (19:54 -0400)]
Add some tests for GdkRectangle
In particular, we're testing corner cases with empty rectangles
here.
Matthias Clasen [Mon, 28 Mar 2016 23:28:57 +0000 (19:28 -0400)]
Expand visual tests a bit
Matthias Clasen [Mon, 28 Mar 2016 23:22:36 +0000 (19:22 -0400)]
Add tests for seat apis
These are just some basic sanity tests.
Matthias Clasen [Mon, 28 Mar 2016 21:56:13 +0000 (17:56 -0400)]
Move autotestkeywords to testsuite
All the 'make check' and installed tests are now in testsuite/,
and tests/ is just a collection manual test programs.
Benjamin Otte [Tue, 1 Dec 2015 16:25:54 +0000 (17:25 +0100)]
window: Remove suspicious branch
While this commit was found to make emacs windows shrink (and it was
reverted in the gtk-3-20 branch for that reason), that was the only
observed breakage, while the reversal broke several of our unit tests.
Closer study of the emacs sources revealed that it does some really
unsupportable things like doing its own X event handling behind GTK+'s
back and freely mixing sizes of GtkWindows and GdkWindows obtained in
various ways. I've filed a bug against emacs with suggestions for how
to avoid the shrinking window, regardless of this commit.
Original commit message:
It seems this branch is not needed anymore. It was originally added in
1999 to support gtk_widget_realize(), but all those reasons seem
obsolete today.
Instead just call gtk_widget_realize().
If you end up at this commit when bisecting:
There is no bug that made me remove this code, it was purely meant to be
cleanup / dead code removal. I seem to have introduced a new bug or
bisecting wouldn't have let you here. So it seems we should just revert
this commit.
Timm Bäder [Mon, 28 Mar 2016 16:18:20 +0000 (18:18 +0200)]
gtkapplication: _get_app_menu can return NULL
Aurimas Černius [Mon, 28 Mar 2016 14:48:10 +0000 (17:48 +0300)]
Updated Lithuanian translation
Matthias Clasen [Sun, 27 Mar 2016 23:00:31 +0000 (19:00 -0400)]
Use dngettext instead of ngettext
Since we are a library, we have to pass the domain explicitly.
https://bugzilla.gnome.org/show_bug.cgi?id=764261
Matthias Clasen [Sun, 27 Mar 2016 14:59:59 +0000 (10:59 -0400)]
places sidebar: Plug a small memory leak
_gtk_trash_moniotr_get_icon is transfer full, so we have
to unref the icon.
Cosimo Cecchi [Sun, 27 Mar 2016 15:39:44 +0000 (08:39 -0700)]
GtkClipboard: fix a typo
Cosimo Cecchi [Sun, 27 Mar 2016 15:35:13 +0000 (08:35 -0700)]
GtkCssSection: remove duplicated documentation
Fixes a build time warning.
Cosimo Cecchi [Sun, 27 Mar 2016 05:36:12 +0000 (22:36 -0700)]
scale: fix marks node position for scales with value
We should only count the value node as the first/last one if its
position matches.
Cosimo Cecchi [Sun, 27 Mar 2016 03:50:59 +0000 (20:50 -0700)]
range: use gadget pointers for grab/mouse locations
Simplify code and remove the mouse location indirection.
Cosimo Cecchi [Sun, 27 Mar 2016 02:11:41 +0000 (19:11 -0700)]
scale: remove impossible case
We only create the gadget when the markup is not empty, so we don't
need to check again here.
Cosimo Cecchi [Sun, 27 Mar 2016 02:07:36 +0000 (19:07 -0700)]
scale: cache pango layouts for mark labels
Constantly creating pango layouts while drawing means that animations
will be slow. Instead, cache the pango layout in the mark structure.
Matthias Clasen [Sun, 27 Mar 2016 03:32:45 +0000 (23:32 -0400)]
Add an index for 3.22 api additions
Matthias Clasen [Sun, 27 Mar 2016 03:30:21 +0000 (23:30 -0400)]
Add a function to get the selection of a clipboard
This was requested in
http://bugzilla.gnome.org/show_bug.cgi?id=730821
Matthias Clasen [Sun, 27 Mar 2016 03:17:53 +0000 (23:17 -0400)]
Remove private clipboard api from public headers
Matthias Clasen [Sat, 26 Mar 2016 22:59:02 +0000 (18:59 -0400)]
filter model: Mark property nicks and blurbs for translation
Better descriptions are not going to happen... might as well
admit it.
Matthias Clasen [Sat, 26 Mar 2016 22:53:55 +0000 (18:53 -0400)]
Drop some more code
This ifdefed out function was only used in the code I just nuked,
so it can go as well.
Matthias Clasen [Sat, 26 Mar 2016 22:52:04 +0000 (18:52 -0400)]
file chooser: Drop unused code
We've never restored filechooser positions, and we aren't going to.
Matthias Clasen [Sat, 26 Mar 2016 22:48:27 +0000 (18:48 -0400)]
wayland: Get min/max keycode from xkb keymap
Instead of hardcoding 8/255 here.
Matthias Clasen [Sat, 26 Mar 2016 22:39:39 +0000 (18:39 -0400)]
Drop irritating FIXMEs in docs
There is nothing to fix here, so don't make gnome-builder pick
these lines up for its todo list.
Matthias Clasen [Sat, 26 Mar 2016 22:18:50 +0000 (18:18 -0400)]
Stop using pango_split_file_list
Add a copy of this deprecated utility in gtkutils.c and use
it instead of the pango API.
Matthias Clasen [Sat, 26 Mar 2016 22:12:16 +0000 (18:12 -0400)]
Split off copied pango utils in their own source
This will make it easier to use them in more than one place.
Matthias Clasen [Sat, 26 Mar 2016 21:32:37 +0000 (17:32 -0400)]
Revert "window: Remove suspicious branch"
This reverts commit
67ab00e01ec06d7b05a82c3d80b235ac6c4abfd2.
Bisection showed that this commit caused emacs windows to shrink
to a small size when first shown.
Matthias Clasen [Sat, 26 Mar 2016 20:08:01 +0000 (16:08 -0400)]
wayland: Add debug output for pixel formats
Use GDK_DEBUG=misc to see information about wl_shm pixel formats
supported by the compositor.
Matthias Clasen [Sat, 26 Mar 2016 19:15:28 +0000 (15:15 -0400)]
Deprecate gdk_visual_get_colormap_size
Since we don't have API for colormaps anymore, this is not
a useful function.
Matthias Clasen [Sat, 26 Mar 2016 19:06:10 +0000 (15:06 -0400)]
Deprecate gdk_visual_get_byte_order
This function is only useful when working with XImages,
and is not meaningfully implemented in other backends.
Matthias Clasen [Sat, 26 Mar 2016 18:58:48 +0000 (14:58 -0400)]
wayland: Fix up visual implementation
Don't return visuals that don't match the requested depth
and/or visual type.
Matthias Clasen [Sat, 26 Mar 2016 18:56:36 +0000 (14:56 -0400)]
Add some more visual tests
These are just basic tests to ensure that the visual implementation
of a backend is sound.
Matthias Clasen [Sat, 26 Mar 2016 18:20:23 +0000 (14:20 -0400)]
Deprecate gdk_visual_get_bits_per_rgb
This function is pretty useless, since the Wayland backend returns
0 for this, and the Windows backend 42 (!).
Matthias Clasen [Sat, 26 Mar 2016 18:08:10 +0000 (14:08 -0400)]
Add version macros for 3.22
Matthias Clasen [Sat, 26 Mar 2016 17:50:42 +0000 (13:50 -0400)]
range: Simplify highlight allocation
Since we are really only interested in the center point of the
slider allocation, the pre-computed slider geometry is perfectly
fine, just use it always. This avoids the complication with
gadget visibility.
Matthias Clasen [Sat, 26 Mar 2016 14:50:00 +0000 (10:50 -0400)]
range: Avoid miscalculating highlight allocation
The slider gadget may be turned invisible as side-effect of
gtk_range_calc_slider(). If that happens,
gtk_css_gadget_get_content_allocation() returns { 0, 0, 0, 0},
which leads us to calculate a negative allocation for the highlight
node. Avoid this, by just reusing our already calculated slider
allocation in this case (it is not technically the same as the
content, allocation, but the difference hardly matter here.
https://bugzilla.gnome.org/show_bug.cgi?id=764022
Matthias Clasen [Sat, 26 Mar 2016 14:09:19 +0000 (10:09 -0400)]
Add a test for the system rgba visual
The main point of this test is to ensure that the pixel_details
getters work as expected.
Matthias Clasen [Sat, 26 Mar 2016 14:10:16 +0000 (10:10 -0400)]
wayland: Fully initialize the visual
The pixel details (mask, shift and precision) are supposed to
be filled in for TrueColor visuals.
Matthias Clasen [Sat, 26 Mar 2016 13:32:51 +0000 (09:32 -0400)]
Make gdk_visual_get_*_pixel_details work again
These functions are supposed to return the numbers of consecutive
1 bits in each components mask as precision. However, due to a
copy-paste mistake when this code was moved around in
commit
70d689cddda0dc616af97e8ed047d0c0acf7c7a6, the precision
was always reported as zero. This affects only a few applications
that directly set window background on X11 windows, such as emacs.
https://bugzilla.gnome.org/show_bug.cgi?id=764210
Jordi Mas [Sat, 26 Mar 2016 07:10:28 +0000 (08:10 +0100)]
Update Catalan translation
Matthias Clasen [Sat, 26 Mar 2016 02:43:57 +0000 (22:43 -0400)]
HighContrastInverse: Fix suggested-action colors
Choose a suitable foreground color instead of hardcoding white.
https://bugzilla.gnome.org/show_bug.cgi?id=764170
Matthias Clasen [Sat, 26 Mar 2016 02:36:50 +0000 (22:36 -0400)]
gtk3-demo: Show more button styles
Add examples for suggested-action and destructive-action
buttons in the style classes example.
Matthias Clasen [Sat, 26 Mar 2016 02:39:53 +0000 (22:39 -0400)]
gtk3-demo: Rename "CSS Theming" group
Call it just "Themeing" to avoid the repetition of CSS.
Balázs Úr [Sat, 26 Mar 2016 00:47:32 +0000 (00:47 +0000)]
Updated Hungarian translation
Руслан Ижбулатов [Sat, 19 Mar 2016 09:49:56 +0000 (09:49 +0000)]
GDK W32: Optimize clipboard handling a bit
Delay as long as possible before calling OpenClipboard(),
call CloseClipboard() as quickly as possible after that.
Don't call OpenClipboard() when we don't need to (for example,
we don't need to open clipboard to call GetClipboardOwner()).
Also, print out actual W32 error code in some cases where it
was not printed before.
https://bugzilla.gnome.org/show_bug.cgi?id=763907
Руслан Ижбулатов [Mon, 21 Mar 2016 16:25:19 +0000 (16:25 +0000)]
GDK W32: Print error code along with the error message
Error codes can be easily looked up in an error code list
and/or googled up. Error messages, while descriptive, often
describe the wrong thing, and the messages themselves are not
part of the documentation of a function, unlike error codes.
It would be preferable to have the code, or both.
https://bugzilla.gnome.org/show_bug.cgi?id=763913
Руслан Ижбулатов [Sat, 19 Mar 2016 11:59:13 +0000 (11:59 +0000)]
GDK W32: Print more debug info about events
1) Print timestamps for events
2) Print wParam and lParam (in hex form) for messages
https://bugzilla.gnome.org/show_bug.cgi?id=763913
Piotr Drąg [Fri, 25 Mar 2016 20:27:21 +0000 (21:27 +0100)]
Updated POTFILES.in
Christoph Reiter [Fri, 25 Mar 2016 12:42:31 +0000 (13:42 +0100)]
inspector: add slider for adjusting the font scale
https://bugzilla.gnome.org/show_bug.cgi?id=761435
Matthias Clasen [Fri, 25 Mar 2016 19:52:22 +0000 (15:52 -0400)]
stack switcher: Add a missing include
Matthias Clasen [Sun, 13 Dec 2015 23:43:10 +0000 (18:43 -0500)]
dnd: Move GtkDragDest to a separate file
This follows what was done for GtkDragSource in
415030d25f2552d3937ee3c394c50d22c5382982 and shaves another
500 lines off gtkdnd.c.
Wolfgang Stöggl [Fri, 25 Mar 2016 18:20:27 +0000 (18:20 +0000)]
Updated German translation
(cherry picked from commit
5e5372ce74cfd06498dee1938f0249d1039ede16)
Wolfgang Stöggl [Fri, 25 Mar 2016 18:17:41 +0000 (18:17 +0000)]
Updated German translation
(cherry picked from commit
c08f4bd2a93e779158ed221c7ea75a9df8ffd35f)
Mohammed Sadik [Fri, 25 Mar 2016 12:38:07 +0000 (18:08 +0530)]
gtkaboutdialog: don't break ABI in GtkLicense enum
As the elements in the enum are not explicitly numbered, inserting an
element between some other elements shall change the values of elements
after the insertion. So append the new element at the end.
Anyway, no code should rely on the position of an element in an enum.
https://bugzilla.gnome.org/show_bug.cgi?id=763850
Matthias Clasen [Fri, 25 Mar 2016 17:12:00 +0000 (13:12 -0400)]
Add a css node test for scales
Olivier Fourdan [Thu, 24 Mar 2016 10:32:24 +0000 (11:32 +0100)]
popover: raise when showing
Some other widget might have mapped and raised another child window of
the toplevel in the meantime, causing the popover window to be covered.
Raise the popover window to avoid the issue.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=763627